/* eslint-disable react/destructuring-assignment */
import React from 'react';
import { LeftOutlined } from '@ant-design/icons';
import './index.scss';

interface Props {
  history: any;
  children: any;
}

export default function NavHeader(props: Props) {
  return (
    <div className="d-flex nav-header">
      <div className="flex1"><LeftOutlined /></div>
      <div className="flex3">{ props.children }</div>
      <div className="flex1" />
    </div>
  );
}
